gtk4.git
18 years agoDestroy the menu in dispose instead of finalize, because the menu might
Armin Burgmeier [Wed, 2 May 2007 22:19:45 +0000 (22:19 +0000)]
Destroy the menu in dispose instead of finalize, because the menu might

2007-05-02  Armin Burgmeier  <armin@openismus.com>

* gtk/gtkcombobox.c: Destroy the menu in dispose instead of
finalize, because the menu might unparent itself from its parent and
cause a signal emission on a finalized object. (#430746)

svn path=/trunk/; revision=17782

18 years agoMS-Windows Theme top tabs rendered upside down for non-XP theme (#435053,
Dom Lachowicz [Wed, 2 May 2007 15:07:34 +0000 (15:07 +0000)]
MS-Windows Theme top tabs rendered upside down for non-XP theme (#435053,

2007-05-02  Dom Lachowicz <domlachowicz@gmail.com>

        * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top
tabs
        rendered upside down for non-XP theme (#435053, Daniel Atallah)

svn path=/trunk/; revision=17773

18 years agoremoved, since this file is long outdated and fully replaced by
Tim Janik [Wed, 2 May 2007 09:39:34 +0000 (09:39 +0000)]
removed, since this file is long outdated and fully replaced by

Wed May  2 11:35:45 2007  Tim Janik  <timj@imendio.com>

        * docs/faq/gtkfaq.sgml: removed, since this file is long outdated
        and fully replaced by docs/faq/gtk-faq.sgml.

svn path=/trunk/; revision=17772

18 years agostop the rubber band if it's active.
Kristian Rietveld [Wed, 2 May 2007 08:08:39 +0000 (08:08 +0000)]
stop the rubber band if it's active.

2007-05-02  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
if it's active.

svn path=/trunk/; revision=17770

18 years agoDon't be too strict when checking icon flags. (#435062)
Matthias Clasen [Wed, 2 May 2007 02:19:08 +0000 (02:19 +0000)]
Don't be too strict when checking icon flags. (#435062)

2007-05-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
        icon flags.  (#435062)

svn path=/trunk/; revision=17767

18 years agoOnly copy pngs when generating builtin cache
Matthias Clasen [Wed, 2 May 2007 02:15:36 +0000 (02:15 +0000)]
Only copy pngs when generating builtin cache

svn path=/trunk/; revision=17766

18 years agoDon't ignore the fact that gtk_file_system_get_parent() may return NULL.
Matthias Clasen [Wed, 2 May 2007 01:19:59 +0000 (01:19 +0000)]
Don't ignore the fact that gtk_file_system_get_parent() may return NULL.

2007-05-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
        Don't ignore the fact that gtk_file_system_get_parent()
        may return NULL.  (#424042, Jan Martinek)

svn path=/trunk/; revision=17764

18 years agoMake sure the leader_window's WM_CLIENT_LEADER points to itself. #435028
Dan Winship [Wed, 2 May 2007 00:02:14 +0000 (00:02 +0000)]
Make sure the leader_window's WM_CLIENT_LEADER points to itself. #435028

* gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
leader_window's WM_CLIENT_LEADER points to itself. #435028

svn path=/trunk/; revision=17762

18 years agoUse GSlice for gtk_tree_iter_copy. Bug #434863.
Christian Persch [Tue, 1 May 2007 22:32:57 +0000 (22:32 +0000)]
Use GSlice for gtk_tree_iter_copy. Bug #434863.

2007-05-02  Christian Persch  <chpe@gnome.org>

* gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
GSlice for gtk_tree_iter_copy. Bug #434863.

svn path=/trunk/; revision=17761

18 years agoPut only GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
Christian Persch [Tue, 1 May 2007 22:31:29 +0000 (22:31 +0000)]
Put only GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug

2007-05-02  Christian Persch  <chpe@gnome.org>

* gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
#434861.

svn path=/trunk/; revision=17760

18 years agoUse GSlice to allocate GtkPaperSize. Bug #434862.
Christian Persch [Tue, 1 May 2007 22:26:00 +0000 (22:26 +0000)]
Use GSlice to allocate GtkPaperSize. Bug #434862.

2007-05-02  Christian Persch  <chpe@gnome.org>

* gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
(gtk_paper_size_new), (gtk_paper_size_new_custom),
(gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
GtkPaperSize. Bug #434862.

svn path=/trunk/; revision=17759

18 years agoNo need to allocate a guint; just stuff the ID into the pointer directly.
Christian Persch [Tue, 1 May 2007 22:22:49 +0000 (22:22 +0000)]
No need to allocate a guint; just stuff the ID into the pointer directly.

2007-05-02  Christian Persch  <chpe@gnome.org>

* gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
(gtk_statusbar_expose_event): No need to allocate a guint; just stuff
the ID into the pointer directly. Bug #434865.

svn path=/trunk/; revision=17758

18 years agoRemove debug spew
Matthias Clasen [Tue, 1 May 2007 22:01:16 +0000 (22:01 +0000)]
Remove debug spew

svn path=/trunk/; revision=17756

18 years agoadd a new struct field to clear the file entry after the current folder
Matthias Clasen [Tue, 1 May 2007 20:35:33 +0000 (20:35 +0000)]
add a new struct field to clear the file entry after the current folder

2007-05-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
        (update_current_folder_get_info_cb): add a new struct field to clear
        the file entry after the current folder has been updated.

        (gtk_file_chooser_default_update_current_folder),
        (change_folder_and_display_error): Add a new function parameter to
        trigger file entry clearing.

        (edited_idle_create_folder_cb),
        (file_list_drag_data_received_get_info_cb),
        (gtk_file_chooser_default_map),
        (gtk_file_chooser_default_set_current_folder),
        (switch_to_selected_folder), (save_entry_get_info_cb),
        (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
        (shortcuts_activate_get_info_cb), (list_row_activated),
        (path_bar_clicked): use new function parameter appropriately.

        (gtk_file_chooser_default_should_respond): trigger file entry clearing
        after the directory is updated instead of clearing it before, this way
        we avoid reloading the completion model with the soon to be old folder,
        causing a warning and a glitch in the folder where completion happens.
        (#379414, Carlos Garnacho)

svn path=/trunk/; revision=17754

18 years agoAdd an icon cache validator.
Matthias Clasen [Tue, 1 May 2007 20:00:17 +0000 (20:00 +0000)]
Add an icon cache validator.

2007-05-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconcachvalidator.[hc]: Add an icon cache validator.

        * gtk/updateiconcache.c: Validate the generated cache before
        moving it in place. Also add a --validate option to validate
        an existing icon cache.

        * gtk/gtkiconcache.c: Validate icon caches before using them.

        * gtk/Makefile.am: Integrate it.

svn path=/trunk/; revision=17753

18 years agoAdded stub gdk_notify_startup_complete_with_id to compile Added
Michael Emmel [Tue, 1 May 2007 16:10:51 +0000 (16:10 +0000)]
Added stub gdk_notify_startup_complete_with_id to compile Added

2007-05-01  Michael Emmel  <mike.emmel@gmail.com>

    * gdk/directfb/gdkdisplay-directfb.c:
    Added stub gdk_notify_startup_complete_with_id to compile
    * gdk/directfb/gdkwindow-directfb.c:
    Added gdk_window_set_opacity
    * gdk/directfb/gdkkeys-directfb.c:
    Fix menu key handling crash Bug #413328

svn path=/trunk/; revision=17752

18 years agoAlso move gtk_print_capabilities_get_type() to the new location. Bug
Christian Persch [Tue, 1 May 2007 13:33:47 +0000 (13:33 +0000)]
Also move gtk_print_capabilities_get_type() to the new location. Bug

2007-05-01  Christian Persch  <chpe@gnome.org>

* gtk/gtkprinter.h:
* gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
the new location. Bug #390437.

svn path=/trunk/; revision=17751

18 years agoMake sure we always have a color_hash. (#423916, Jens Granseuer)
Matthias Clasen [Mon, 30 Apr 2007 19:27:08 +0000 (19:27 +0000)]
Make sure we always have a color_hash. (#423916, Jens Granseuer)

2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtksettings.c (settings_update_color_scheme):
        Make sure we always have a color_hash.  (#423916, Jens Granseuer)

svn path=/trunk/; revision=17748

18 years agoMake gtk_printer_get_capabilities public, and move the
Christian Persch [Mon, 30 Apr 2007 19:14:27 +0000 (19:14 +0000)]
Make gtk_printer_get_capabilities public, and move the

2007-04-30  Christian Persch  <chpe@gnome.org>

* docs/reference/gtk/gtk-sections.txt:
* gtk/gtk.symbols:
* gtk/gtkprinter-private.h:
* gtk/gtkprinter.c: (gtk_printer_get_capabilities),
(gtk_print_capabilities_get_type):
* gtk/gtkprinter.h:
* gtk/gtkprintjob.c:
* gtk/gtkprintjob.h:
* gtk/gtkprintunixdialog.c: (selected_printer_changed):
Make gtk_printer_get_capabilities public, and move the
GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.

svn path=/trunk/; revision=17747

18 years agoMake gtk_printer_get_capabilities public, and move the
Christian Persch [Mon, 30 Apr 2007 19:12:00 +0000 (19:12 +0000)]
Make gtk_printer_get_capabilities public, and move the

2007-04-30  Christian Persch  <chpe@gnome.org>

* docs/reference/gtk/gtk-sections.txt:
* gtk/gtk.symbols:
* gtk/gtkprinter-private.h:
* gtk/gtkprinter.c: (gtk_printer_get_capabilities),
(gtk_print_capabilities_get_type):
* gtk/gtkprinter.h:
* gtk/gtkprintunixdialog.c: (selected_printer_changed):
Make gtk_printer_get_capabilities public, and move the
GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.

svn path=/trunk/; revision=17746

18 years agoA NO_WINDOW widget must not set the background of its window. (#433972,
Matthias Clasen [Mon, 30 Apr 2007 17:57:53 +0000 (17:57 +0000)]
A NO_WINDOW widget must not set the background of its window. (#433972,

2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
        must not set the background of its window.  (#433972,
        Guilherme Polo)

svn path=/trunk/; revision=17744

18 years agoImplement.
Richard Hult [Mon, 30 Apr 2007 17:42:49 +0000 (17:42 +0000)]
Implement.

2007-04-30  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
Implement.

svn path=/trunk/; revision=17743

18 years agoGet all the printer attributes when getting the list of printers, not via
Matthias Clasen [Mon, 30 Apr 2007 17:39:40 +0000 (17:39 +0000)]
Get all the printer attributes when getting the list of printers, not via

2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Get all
        the printer attributes when getting the list of printers,
        not via separate requests.  (#387889, Krishan Purahoo)

svn path=/trunk/; revision=17741

18 years agoSome more compiler warning fixes.
Matthias Clasen [Mon, 30 Apr 2007 16:22:31 +0000 (16:22 +0000)]
Some more compiler warning fixes.

2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        Some more compiler warning fixes.

        * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
        Fix NULL/FALSE confusion.

svn path=/trunk/; revision=17740

18 years agoFix some compiler warnings. (#433642, Kjartan Maraas)
Matthias Clasen [Mon, 30 Apr 2007 16:18:54 +0000 (16:18 +0000)]
Fix some compiler warnings. (#433642, Kjartan Maraas)

2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        Fix some compiler warnings.  (#433642, Kjartan Maraas)

        * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
        (gtk_file_system_win32_create_folder):
        * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.

        * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
        the right type to uri_func.

        * gtk/gtktext.c (gtk_text_key_press):
        * gtk/gtkstatusicon.c (gtk_status_icon_get_property):
        * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.

        * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed):
        (gtk_tray_icon_delete):
        * gtk/gtkprintunixdialog.c (create_main_page):
        * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.

        * gtk/gtkliststore.c: Adapt callbacks to GSequence types.

svn path=/trunk/; revision=17739

18 years agoClear correct area
Cody Russell [Mon, 30 Apr 2007 15:29:16 +0000 (15:29 +0000)]
Clear correct area

svn path=/trunk/; revision=17737

18 years agoAllow indents to be negative. (#Bug 434308)
Matthias Clasen [Mon, 30 Apr 2007 15:17:45 +0000 (15:17 +0000)]
Allow indents to be negative. (#Bug 434308)

2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c: Allow indents to be negative.  (#Bug 434308)

svn path=/trunk/; revision=17736

18 years agopop up the submenu explicitely only in touchscreen mode since otherwise
Michael Natterer [Mon, 30 Apr 2007 13:00:07 +0000 (13:00 +0000)]
pop up the submenu explicitely only in touchscreen mode since otherwise

2007-04-30  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
submenu explicitely only in touchscreen mode since otherwise
selecting the item already pops up the submenu. Restores the
drag-selection timeout (spotted by Søren Sandmann, #128968).

svn path=/trunk/; revision=17735

18 years agoreally rename gtk_paper_size_get_builtins() to
Michael Natterer [Mon, 30 Apr 2007 09:55:14 +0000 (09:55 +0000)]
really rename gtk_paper_size_get_builtins() to

2007-04-30  Michael Natterer  <mitch@imendio.com>

* gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
to gtk_paper_size_get_paper_sizes().

svn path=/trunk/; revision=17734

18 years ago_gtk_load_custom_papers() exists only on Unix.
Tor Lillqvist [Mon, 30 Apr 2007 07:42:12 +0000 (07:42 +0000)]
_gtk_load_custom_papers() exists only on Unix.

2007-04-30  Tor Lillqvist  <tml@novell.com>

* gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
_gtk_load_custom_papers() exists only on Unix.

svn path=/trunk/; revision=17733

18 years agoCosmetics
Tor Lillqvist [Mon, 30 Apr 2007 07:37:57 +0000 (07:37 +0000)]
Cosmetics

svn path=/trunk/; revision=17732

18 years agoAdd functionality to set overall opacity of a top-level window. (#405316)
Tor Lillqvist [Mon, 30 Apr 2007 07:37:24 +0000 (07:37 +0000)]
Add functionality to set overall opacity of a top-level window. (#405316)

2007-04-30  Tor Lillqvist  <tml@novell.com>

Add functionality to set overall opacity of a top-level
window. (#405316)

* gtk/gtk.symbols: Add gtk_window_set_opacity and
gtk_window_get_opacity.

* gtk/gtkwindow.c (struct _GtkWindowPrivate,
(gtk_window_class_init): Add opacity property, a double in the
range [0, 1].
(gtk_window_set_opacity, gtk_window_get_opacity): Implement.
(gtk_window_realize): If opacity is set, call
gdk_window_set_opacity().

* gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
gtk_window_get_opacity().

svn path=/trunk/; revision=17731

18 years agoAdd functionality to set overall opacity of a top-level window. (#405316)
Tor Lillqvist [Mon, 30 Apr 2007 07:27:22 +0000 (07:27 +0000)]
Add functionality to set overall opacity of a top-level window. (#405316)

2007-04-30  Tor Lillqvist  <tml@novell.com>

Add functionality to set overall opacity of a top-level
window. (#405316)

* gdk/gdk.symbols: Add gdk_window_set_opacity.

* gdk/x11/gdkwindow-x11.c
* gdk/win32/gdkwindow-win32.c: Implement
gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).

* gdk/gdkwindow.h: Declare gdk_window_set_opacity().

* gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
that this is not implemented in the Windows backend. Add reference
to gdk_window_set_opacity().

svn path=/trunk/; revision=17730

18 years agoFix a compiler warning.
Matthias Clasen [Mon, 30 Apr 2007 06:04:48 +0000 (06:04 +0000)]
Fix a compiler warning.

svn path=/trunk/; revision=17729

18 years agoRename gtk_paper_size_get_builtins() to gtk_paper_size_get_paper_sizes()
Matthias Clasen [Mon, 30 Apr 2007 06:03:01 +0000 (06:03 +0000)]
Rename gtk_paper_size_get_builtins() to gtk_paper_size_get_paper_sizes()

2007-04-30  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
        to gtk_paper_size_get_paper_sizes() and optionally include
        custom paper sizes.

        * gtk/gtkpagesetupunixdialog.c: Internally export a function
        to load custom paper sizes.

        * modules/printbackends/file/gtkprintbackendfile.c: Implement
        printer_list_papers, returning all paper sizes.  (#434329,
        Christian Persch)

svn path=/trunk/; revision=17728

18 years agoTranslate the default job name, and don't utf8-validate the job name in
Matthias Clasen [Mon, 30 Apr 2007 05:08:26 +0000 (05:08 +0000)]
Translate the default job name, and don't utf8-validate the job name in

2007-04-30  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkprintoperation.c: Translate the default job
        name, and don't utf8-validate the job name in the
        setter.  (#421993, Morten Welinder)

svn path=/trunk/; revision=17726

18 years agoUse g_unlink. (#421990, Morten Welinder)
Matthias Clasen [Mon, 30 Apr 2007 04:55:25 +0000 (04:55 +0000)]
Use g_unlink. (#421990, Morten Welinder)

2007-04-30  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
        g_unlink.  (#421990, Morten Welinder)

svn path=/trunk/; revision=17724

18 years agoFix some issues with reference handling in the printing code. (#429902,
Matthias Clasen [Mon, 30 Apr 2007 04:45:33 +0000 (04:45 +0000)]
Fix some issues with reference handling in the printing code. (#429902,

2007-04-29  Matthias Clasen <mclasen@redhat.com>

        Fix some issues with reference handling in the printing
        code.  (#429902, Mathias Hasselmann)

        * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
        Unref the print context, if we have one.
        (gtk_print_operation_done): Add a default ::done handler
        that unrefs the print context.
        (preview_ready): Take a reference on the print operation
        preview here.
        (print_pages_idle): ...not here,
        (preview_print_idle_done): ...and release it here.

        * tests/print-editor.c (preview_cb): Take a reference
        on the print operation here.

svn path=/trunk/; revision=17722

18 years agoDon't get stuck in a recursive mainloop if a synchronous preview is
Matthias Clasen [Mon, 30 Apr 2007 02:47:41 +0000 (02:47 +0000)]
Don't get stuck in a recursive mainloop if a synchronous preview is

2007-04-29  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkprintoperation.c (print_pages_idle): Don't get
        stuck in a recursive mainloop if a synchronous preview
        is cancelled.

svn path=/trunk/; revision=17721

18 years agoMake the emission of ::end-print and ::done consistent for previews.
Matthias Clasen [Mon, 30 Apr 2007 02:18:36 +0000 (02:18 +0000)]
Make the emission of ::end-print and ::done consistent for previews.

2007-04-29  Matthias Clasen <mclasen@redhat.com>

        Make the emission of ::end-print and ::done consistent
        for previews.  (#347567, Yevgen Muntyan)

        * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
        the finished status here.
        (preview_end_run): ...and not here.
        (print_pages_idle_done): Emit ::done for a cancelled preview.
        (print_pages_idle): If a preview has been cancelled, don't
        emit ::ready, but emit ::end-print.

        tests/print-editor.c: Use ::end-print to undo allocations
        from ::begin-print.

svn path=/trunk/; revision=17719

18 years agoMark paper sizes in the PWG "custom" namespace as custom. Add a link to
Matthias Clasen [Mon, 30 Apr 2007 00:19:19 +0000 (00:19 +0000)]
Mark paper sizes in the PWG "custom" namespace as custom. Add a link to

2007-04-29  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
        in the PWG "custom" namespace as custom. Add a link to
        the spec in the docs.  (#426416, Andreas Guelzow)

svn path=/trunk/; revision=17718

18 years agoRemove leftover debugging spew
Matthias Clasen [Sun, 29 Apr 2007 23:21:32 +0000 (23:21 +0000)]
Remove leftover debugging spew

svn path=/trunk/; revision=17717

18 years agoDocument that a print operation can be run only once, and add a
Matthias Clasen [Sun, 29 Apr 2007 18:55:12 +0000 (18:55 +0000)]
Document that a print operation can be run only once, and add a

2007-04-29  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
        that a print operation can be run only once, and add a
        corresponding g_return_if_fail().   (#379399, Masao Mutoh)

svn path=/trunk/; revision=17715

18 years agoRemove a pointless check from the previous commit that added a new string.
Matthias Clasen [Sun, 29 Apr 2007 18:39:59 +0000 (18:39 +0000)]
Remove a pointless check from the previous commit that added a new string.

2007-04-29  Matthias Clasen <mclasen@redhat.com>

        * io-jpeg.c: Remove a pointless check from the previous
        commit that added a new string.

svn path=/trunk/; revision=17714

18 years agoBetter version of the previous patch
Matthias Clasen [Sun, 29 Apr 2007 18:22:27 +0000 (18:22 +0000)]
Better version of the previous patch

svn path=/trunk/; revision=17712

18 years agoAdd gdk_x11_display_broadcast_startup_message and some other missing
Dan Winship [Sun, 29 Apr 2007 18:14:00 +0000 (18:14 +0000)]
Add gdk_x11_display_broadcast_startup_message and some other missing

* gdk/gdk-sections.txt: Add
gdk_x11_display_broadcast_startup_message and some other missing
startup-notification-related methods

svn path=/trunk/; revision=17711

18 years agoNew method to marshall and send a Startup Notification message. (from
Dan Winship [Sun, 29 Apr 2007 18:13:42 +0000 (18:13 +0000)]
New method to marshall and send a Startup Notification message. (from

* gdk/x11/gdkdisplay-x11.c
(gdk_x11_display_broadcast_startup_message): New method to
marshall and send a Startup Notification message. (from #415070)
(gdk_notify_startup_complete_with_id): Use that

svn path=/trunk/; revision=17710

18 years agoDon't leak a file descriptor, and don't make the error dialog modal.
Mattthias Clasen [Sun, 29 Apr 2007 18:03:35 +0000 (18:03 +0000)]
Don't leak a file descriptor, and don't make the error dialog modal.

2007-04-29  Mattthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintoperation-unix.c
        (_gtk_print_operation_platform_backend_launch_preview):
        Don't leak a file descriptor, and don't make the error
        dialog modal.  (#421985, Morten Welinder)

svn path=/trunk/; revision=17708

18 years agoFix typo in FAQ (#373706, Diego Escalante Urrelo).
Xan Lopez [Sun, 29 Apr 2007 15:26:59 +0000 (15:26 +0000)]
Fix typo in FAQ (#373706, Diego Escalante Urrelo).

* docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
Diego Escalante Urrelo).

I'm fixing gtk-faq.sgml as it seems this is the file
we actually use...

svn path=/trunk/; revision=17707

18 years agoOnly strip parentheses of the form (_x). (#434261, Brian Wellington)
Matthias Clasen [Sun, 29 Apr 2007 07:20:50 +0000 (07:20 +0000)]
Only strip parentheses of the form (_x). (#434261, Brian Wellington)

2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores):
        Only strip parentheses of the form (_x).  (#434261,
        Brian Wellington)

svn path=/trunk/; revision=17705

18 years agoSupport passing a print settings file to the preview command. (#403717,
Matthias Clasen [Sun, 29 Apr 2007 06:59:27 +0000 (06:59 +0000)]
Support passing a print settings file to the preview command. (#403717,

2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintoperation-unix.c
        (_gtk_print_operation_platform_backend_launch_preview):
        Support passing a print settings file to the preview
        command.  (#403717, Christian Persch)

        * gtk/gtksettings.c: Document %s in the
        gtk-print-preview-command setting.

svn path=/trunk/; revision=17704

18 years agoUpdated Belarusian Latin translation.
Ihar Hrachyshka [Sun, 29 Apr 2007 06:52:32 +0000 (06:52 +0000)]
Updated Belarusian Latin translation.

svn path=/trunk/; revision=17703

18 years agoFix the build
Matthias Clasen [Sun, 29 Apr 2007 06:50:42 +0000 (06:50 +0000)]
Fix the build

svn path=/trunk/; revision=17701

18 years agoAlso check the default handler when deciding whether to emit the paginate
Matthias Clasen [Sun, 29 Apr 2007 06:34:12 +0000 (06:34 +0000)]
Also check the default handler when deciding whether to emit the paginate

2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintoperation.c (print_pages_idle): Also check
        the default handler when deciding whether to emit the
        paginate signal.  (#345345, Yevgen Muntyan)

svn path=/trunk/; revision=17698

18 years agoAdd a new error code
Matthias Clasen [Sun, 29 Apr 2007 06:23:58 +0000 (06:23 +0000)]
Add a new error code

2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintoperation.h: Add a new error code

        * gtk/gtk.symbols:
        * gtk/gtkpagesetup.[hc]:
        * gtk/gtkpapersize.[hc]:
        * gtk/gtkprintsettings.[hc]: Add functions to serialize
        and deserialize page setups and print settings to files
        and key files.  (#344515, Christian Persch)

        * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.

        * tests/print-editor.c: Use the new functions to persist
        page setup and print settings.

svn path=/trunk/; revision=17697

18 years agoFree the custom paper list. (#403267, Felix Riemann)
Matthias Clasen [Sun, 29 Apr 2007 05:06:06 +0000 (05:06 +0000)]
Free the custom paper list. (#403267, Felix Riemann)

2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
        Free the custom paper list.  (#403267, Felix Riemann)

svn path=/trunk/; revision=17695

18 years agoFix a small memory leak. (#403251, Felix Riemann)
Matthias Clasen [Sun, 29 Apr 2007 04:58:20 +0000 (04:58 +0000)]
Fix a small memory leak. (#403251, Felix Riemann)

2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a
        small memory leak.  (#403251, Felix Riemann)

svn path=/trunk/; revision=17693

18 years agoFix a typo. String change ! (#406160, Stephane Raimbault)
Matthias Clasen [Sun, 29 Apr 2007 04:54:36 +0000 (04:54 +0000)]
Fix a typo. String change ! (#406160, Stephane Raimbault)

2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
        typo. String change !  (#406160, Stephane Raimbault)

svn path=/trunk/; revision=17692

18 years agoAdd a function to list the builtin paper sizes. (#382355, Christian
Matthias Clasen [Sun, 29 Apr 2007 04:50:28 +0000 (04:50 +0000)]
Add a function to list the builtin paper sizes. (#382355, Christian

2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkpapersize.[hc]: Add a function to list the
        builtin paper sizes.  (#382355, Christian Persch)

svn path=/trunk/; revision=17691

18 years agoMake gtk_printer_has_details() and gtk_printer_request_details() public.
Matthias Clasen [Sun, 29 Apr 2007 04:42:13 +0000 (04:42 +0000)]
Make gtk_printer_has_details() and gtk_printer_request_details() public.

2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkprinter-private.h:
        * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
        gtk_printer_request_details() public.

        * gtk/gtkpagesetupunixdialog.c:
        * gtk/gtkprintunixdialog.c: Update callers.  (#389203,
        Christian Persch)

svn path=/trunk/; revision=17690

18 years agoMore cleanups
Matthias Clasen [Sun, 29 Apr 2007 04:10:39 +0000 (04:10 +0000)]
More cleanups

svn path=/trunk/; revision=17689

18 years agoCleanups
Matthias Clasen [Sun, 29 Apr 2007 03:52:10 +0000 (03:52 +0000)]
Cleanups

svn path=/trunk/; revision=17688

18 years agoMake building the test print backend optional
Matthias Clasen [Sun, 29 Apr 2007 03:41:53 +0000 (03:41 +0000)]
Make building the test print backend optional

svn path=/trunk/; revision=17687

18 years agoCorrect some copyright lines.
Matthias Clasen [Sun, 29 Apr 2007 03:31:03 +0000 (03:31 +0000)]
Correct some copyright lines.

2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/lpr/*:
        * modules/printbackends/cups/*: Correct some copyright lines.

        * configure.in:
        * modules/printbackends/Makefile.am:
        * modules/printbackends/test/*: Add a test print backend.
        (#409089, John Palmieri)

svn path=/trunk/; revision=17686

18 years agoAdd a way to specify accumulative margins. (#344499, Nate Nielsen)
Matthias Clasen [Sun, 29 Apr 2007 01:14:29 +0000 (01:14 +0000)]
Add a way to specify accumulative margins. (#344499, Nate Nielsen)

2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktexttag.[hc]: Add a way to specify accumulative
        margins.  (#344499, Nate Nielsen)

svn path=/trunk/; revision=17685

18 years agoFix the offsets of the input-only window if we also have a visible window.
Matthias Clasen [Sat, 28 Apr 2007 21:45:39 +0000 (21:45 +0000)]
Fix the offsets of the input-only window if we also have a visible window.

2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
        of the input-only window if we also have a visible window.
        (#405089)

svn path=/trunk/; revision=17683

18 years agoRecognize negative column indices as invalid. (#415260, Chris Wilson)
Matthias Clasen [Sat, 28 Apr 2007 21:29:05 +0000 (21:29 +0000)]
Recognize negative column indices as invalid. (#415260, Chris Wilson)

2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
        * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
        Recognize negative column indices as invalid.  (#415260,
        Chris Wilson)

svn path=/trunk/; revision=17681

18 years agofix two more potential races that could happen when an application is
Ronald Bultje [Sat, 28 Apr 2007 18:14:19 +0000 (18:14 +0000)]
fix two more potential races that could happen when an application is

2007-04-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>

        * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
        (poll_func): fix two more potential races that could happen when
        an application is polling in the mainloop and a separate thread
        tries to wake it up using g_idle_add(). Fixes #425271 comment 5.

svn path=/trunk/; revision=17680

18 years agoSame fix for gtk_entry_real_insert_text
Matthias Clasen [Sat, 28 Apr 2007 18:04:00 +0000 (18:04 +0000)]
Same fix for gtk_entry_real_insert_text

svn path=/trunk/; revision=17679

18 years agoOnly call g_object_get() when necessary. (#373137, Morten Welinder, patch
Matthias Clasen [Sat, 28 Apr 2007 17:53:50 +0000 (17:53 +0000)]
Only call g_object_get() when necessary. (#373137, Morten Welinder, patch

2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkentry.c (gtk_entry_grab_focus): Only call
        g_object_get() when necessary.  (#373137, Morten Welinder,
        patch by Xan Lopez)

svn path=/trunk/; revision=17678

18 years agoAdd a note about being embedded. (#340107, Christian Persch)
Matthias Clasen [Sat, 28 Apr 2007 15:52:25 +0000 (15:52 +0000)]
Add a note about being embedded. (#340107, Christian Persch)

2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
        a note about being embedded.  (#340107, Christian Persch)

svn path=/trunk/; revision=17677

18 years agoAdd GTK_TARGET_OTHER_{APP,WIDGET} to restrict drags within an
Matthias Clasen [Sat, 28 Apr 2007 15:34:39 +0000 (15:34 +0000)]
Add GTK_TARGET_OTHER_{APP,WIDGET} to restrict drags within an

2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
        restrict drags within an application/widget.  (#163141,
        Jorn Baayen)

svn path=/trunk/; revision=17676

18 years agoMake make clean clean
Matthias Clasen [Sat, 28 Apr 2007 15:09:57 +0000 (15:09 +0000)]
Make make clean clean

svn path=/trunk/; revision=17675

18 years agoAccept unknown parameters with a warning when saving. (#405539, Daniel
Matthias Clasen [Sat, 28 Apr 2007 14:48:22 +0000 (14:48 +0000)]
Accept unknown parameters with a warning when saving. (#405539, Daniel

2007-04-28  Matthias Clasen <mclasen@redhat.com>

        * io-png.c:
        * io-jpeg.c: Accept unknown parameters with a warning
        when saving.  (#405539, Daniel Atallah)

svn path=/trunk/; revision=17673

18 years agoPlug memory leaks caused by wrong use of g_slist_remove_link(). (#405515,
Matthias Clasen [Sat, 28 Apr 2007 14:41:04 +0000 (14:41 +0000)]
Plug memory leaks caused by wrong use of g_slist_remove_link(). (#405515,

2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
        * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder):
        * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
        (get_children_folder_cb): Plug memory leaks caused by wrong
        use of g_slist_remove_link().  (#405515, Nicolas Peninguy)

svn path=/trunk/; revision=17671

18 years agoFix headers in gtk-demo printing demo
Matthias Clasen [Sat, 28 Apr 2007 14:06:25 +0000 (14:06 +0000)]
Fix headers in gtk-demo printing demo

svn path=/trunk/; revision=17669

18 years agoUse strstr instead of g_strstr with -1 for length.
Xan Lopez [Sat, 28 Apr 2007 11:28:58 +0000 (11:28 +0000)]
Use strstr instead of g_strstr with -1 for length.

* gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text):
Use strstr instead of g_strstr with -1 for length.

svn path=/trunk/; revision=17668

18 years agoFix typo.
Xan Lopez [Sat, 28 Apr 2007 07:49:54 +0000 (07:49 +0000)]
Fix typo.

svn path=/trunk/; revision=17667

18 years agoRember the user input that triggered the completion, add API to the
Xan Lopez [Sat, 28 Apr 2007 07:47:08 +0000 (07:47 +0000)]
Rember the user input that triggered the completion, add API to the

* gtk/gtkentry.c:
* gtk/gtkentrycompletion.c:
* gtk/gtkentrycompletion.h:
* gtk/gtkentryprivate.h:

Rember the user input that triggered the completion, add
API to the retrieve it and reset the entry contents to it
if the user cancels the tentative completion during
the inline-selection.

svn path=/trunk/; revision=17666

18 years agoFactor out window movement functions. (#63820, Tilman Sauerbeck)
Matthias Clasen [Fri, 27 Apr 2007 23:31:58 +0000 (23:31 +0000)]
Factor out window movement functions. (#63820, Tilman Sauerbeck)

2007-04-27  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkgeometry-x11.c: Factor out window movement
        functions. (#63820, Tilman Sauerbeck)

svn path=/trunk/; revision=17665

18 years agoFactor out translate_pos(). (#63820, Tilman Sauerbeck)
Matthias Clasen [Fri, 27 Apr 2007 23:29:23 +0000 (23:29 +0000)]
Factor out translate_pos(). (#63820, Tilman Sauerbeck)

2007-04-27  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
        (#63820, Tilman Sauerbeck)

svn path=/trunk/; revision=17664

18 years agoFactor out window mapping and unmapping functions. (#63820, Tilman
Matthias Clasen [Fri, 27 Apr 2007 23:26:46 +0000 (23:26 +0000)]
Factor out window mapping and unmapping functions. (#63820, Tilman

2007-04-27  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
        and unmapping functions.  (#63820, Tilman Sauerbeck)

svn path=/trunk/; revision=17663

18 years agoMake list handling code easier to read. (#63820, Tilman Sauerbeck)
Matthias Clasen [Fri, 27 Apr 2007 23:23:52 +0000 (23:23 +0000)]
Make list handling code easier to read. (#63820, Tilman Sauerbeck)

2007-04-27  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkgeometry-x11.c: Make list handling code
        easier to read.  (#63820, Tilman Sauerbeck)

svn path=/trunk/; revision=17662

18 years agoInternalize some strings, pointed out by Damon Chaplin.
Matthias Clasen [Fri, 27 Apr 2007 23:10:38 +0000 (23:10 +0000)]
Internalize some strings, pointed out by Damon Chaplin.

2007-04-27  Matthias Clasen  <mclasen@redhat.com>

        * gtkassistant.c:
        * gtkiconfactory.c:
        * gtkiconview.c:
        * gtkpapersize.c:
        * gtkrecentmanager.c:
        * gtktextiter.c: Internalize some strings, pointed out
        by Damon Chaplin.

svn path=/trunk/; revision=17661

18 years agoSupport inline-selection in entries (#318459)
Xan Lopez [Fri, 27 Apr 2007 16:50:04 +0000 (16:50 +0000)]
Support inline-selection in entries (#318459)

Support inline-selection in entries (#318459)

* gtk/gtkentry.c:
* gtk/gtkentrycompletion.c:
* gtk/gtkentrycompletion.h:
* gtk/gtkentryprivate.h:

When enabled cursor-match is emited when the cursor is on
a possible completion on the list. The default implementation
will replace the contents on the entry with the contents of
the text column in the completion model.

Review and improvements by Matthias Clasen.

svn path=/trunk/; revision=17660

18 years agoMerged heavily modified patch from maemo-gtk which enables opening and
Michael Natterer [Fri, 27 Apr 2007 14:49:37 +0000 (14:49 +0000)]
Merged heavily modified patch from maemo-gtk which enables opening and

2007-04-27  Michael Natterer  <mitch@imendio.com>

Merged heavily modified patch from maemo-gtk which enables opening
and closing submenus on click, and introduces some usability
changes when gtk-touchscreen-mode is enabled (bug #128968):

* gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
"activated_submenu" to indicate that the current mouse operation
(click or drag) has opened a submenu.

(gtk_menu_shell_button_press): pop up submenus without delay
and record the fact in "activated_submenu".

(gtk_menu_shell_button_release): if a submenu was explicitely
opened, or not opened by this release's button_press, or enough
time has passed since timeout-opening it, close the submenu here.

(gtk_menu_shell_enter_notify): when entering a menu item with
any mouse button pressed, open its submenu.

(gtk_real_menu_shell_move_current): in touchsreen mode, close the
submenu when moving the focus away from it via keyboard-navigation.

* gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
parameter "gboolean with_delay" so GtkMenuShell can control this
for the different scenarios of submenu showing.

(_gtk_menu_item_popdown_submenu): new function. also needed by
GtkMenuShell for closing submenus on click.

Renamed internal function gtk_menu_item_select_timeout() to
gtk_menu_item_popup_timeout().

(gtk_menu_item_real_popup_submenu): new utility function which
does the actual popup and records the exact time of the popup when
the menu was timeout-opened (using g_get_current_time()).

(gtk_real_menu_item_select): don't add the popup timeout when in
touchscreen mode.

* gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
first item of every opened menu.

svn path=/trunk/; revision=17659

18 years agoAppend a '/' to directory names in the completion popup. (#431323, Maarten
Matthias Clasen [Thu, 26 Apr 2007 17:04:33 +0000 (17:04 +0000)]
Append a '/' to directory names in the completion popup. (#431323, Maarten

2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserentry.c: Append a '/' to directory names
        in the completion popup.  (#431323, Maarten Maathuis)

svn path=/trunk/; revision=17658

18 years agoAdd a simple validation demo. Make it possible to add arbitrary children
Matthias Clasen [Thu, 26 Apr 2007 15:55:48 +0000 (15:55 +0000)]
Add a simple validation demo. Make it possible to add arbitrary children

2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * demo/gtk-demo/combobox.c: Add a simple validation demo.
        * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
        children to a GtkComboBoxEntry.  (#426401, Paul Pogonyshev)

svn path=/trunk/; revision=17657

18 years agoRemove old child of scrolled window before adding a new one when switching
Tor Lillqvist [Thu, 26 Apr 2007 06:23:36 +0000 (06:23 +0000)]
Remove old child of scrolled window before adding a new one when switching

2007-04-26  Tor Lillqvist  <tml@novell.com>

* gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
(gtk_input_dialog_fill_keys): Remove old child of scrolled window
before adding a new one when switching what input device is being
handled. (#399425)

svn path=/trunk/; revision=17656

18 years agoMark the printer list as done. (#428665, Bogdan Gheorghe)
Matthias Clasen [Thu, 26 Apr 2007 06:14:03 +0000 (06:14 +0000)]
Mark the printer list as done. (#428665, Bogdan Gheorghe)

2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/lpr/gtkprintbackendlpr.c
        (gtk_print_backend_lpr_init): Mark the printer list as done.
        (#428665, Bogdan Gheorghe)

svn path=/trunk/; revision=17653

18 years agoDon't install UNIX-printing headers and support files on non-UNIX
Matthias Clasen [Thu, 26 Apr 2007 06:03:54 +0000 (06:03 +0000)]
Don't install UNIX-printing headers and support files on non-UNIX

2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * Makefile.am:
        * gtk/Makefile.am: Don't install UNIX-printing headers and
        support files on non-UNIX platforms.  (#425655, Vincent Geddes)

svn path=/trunk/; revision=17651

18 years agoAccept unnamed separators. (#369112, Christian Persch)
Matthias Clasen [Thu, 26 Apr 2007 05:54:21 +0000 (05:54 +0000)]
Accept unnamed separators. (#369112, Christian Persch)

2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
        unnamed separators.  (#369112, Christian Persch)

svn path=/trunk/; revision=17649

18 years agoDon't access invalid memory. (#429732, Armin Burgmeier)
Matthias Clasen [Thu, 26 Apr 2007 05:50:18 +0000 (05:50 +0000)]
Don't access invalid memory. (#429732, Armin Burgmeier)

2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
        invalid memory.  (#429732, Armin Burgmeier)

svn path=/trunk/; revision=17647

18 years agoUse native Win32 cursors where it makes sense
Cody Russell [Thu, 26 Apr 2007 05:27:55 +0000 (05:27 +0000)]
Use native Win32 cursors where it makes sense

svn path=/trunk/; revision=17645

18 years agoWin32 drop shadow goodness
Cody Russell [Wed, 25 Apr 2007 23:44:54 +0000 (23:44 +0000)]
Win32 drop shadow goodness

svn path=/trunk/; revision=17643

18 years agoadded 16x16 version of as per discussion in bug #431740.
Jakub Steiner [Wed, 25 Apr 2007 21:04:59 +0000 (21:04 +0000)]
added 16x16 version of as per discussion in bug #431740.

2007-04-25  Jakub Steiner <jimmac@ximian.com>

* gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
as per discussion in bug #431740.

svn path=/trunk/; revision=17642

18 years agoSet the background of the header window again. (#431067, Benjamin Berg)
Matthias Clasen [Wed, 25 Apr 2007 19:10:25 +0000 (19:10 +0000)]
Set the background of the header window again. (#431067, Benjamin Berg)

2007-04-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
        of the header window again.  (#431067, Benjamin Berg)

svn path=/trunk/; revision=17640

18 years agoSet the filename to NULL for builtin icons, sinc
Matthias Clasen [Wed, 25 Apr 2007 18:01:44 +0000 (18:01 +0000)]
Set the filename to NULL for builtin icons, sinc

2007-04-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
        NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
        depends on it.

        * tests/testicontheme.c: Report builtin icons.

svn path=/trunk/; revision=17638

18 years agoDon't crash if end_run is not set. (#424168, Matthias Hasselmann)
Matthias Clasen [Wed, 25 Apr 2007 16:28:30 +0000 (16:28 +0000)]
Don't crash if end_run is not set. (#424168, Matthias Hasselmann)

2007-04-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
        crash if end_run is not set.  (#424168, Matthias Hasselmann)

svn path=/trunk/; revision=17636

18 years agoDon't double the delay time of the first frame. (#431997, Björn
Matthias Clasen [Wed, 25 Apr 2007 14:38:47 +0000 (14:38 +0000)]
Don't double the delay time of the first frame. (#431997, Björn

2007-04-25  Matthias Clasen <mclasen@redhat.com>

        * gdk-pixbuf-simple-anim.c (gdk_pixbuf_simple_anim_add_frame):
        Don't double the delay time of the first frame.  (#431997,
        Björn Lindqvist)

svn path=/trunk/; revision=17634